#ifndef __BREAKOUT_H__
#define __BREAKOUT_H__

#define MAX(a, b) ((a) > (b) ? a : b)
#define MIN(a, b) ((a) < (b) ? a : b)

//#define PROFILE // Define this to turn on profiling.

#define SCREEN_WIDTH  640 // This MUST be >= GAME_WIDTH.
#define SCREEN_HEIGHT 480
#define DASH_HEIGHT   20
#define GAME_WIDTH    (SCREEN_WIDTH)
#define GAME_HEIGHT   (SCREEN_HEIGHT - DASH_HEIGHT)

#define PADDLE_HEIGHT 10
#define BRICK_HEIGHT  10
#define BRICK_WIDTH   20

#define BRICK_ROWS    ((GAME_HEIGHT - PADDLE_HEIGHT) / BRICK_HEIGHT)
#define BRICK_COLS    (GAME_WIDTH / BRICK_WIDTH)

void RenderName (char *msg);
void RenderMessage (char *msg);

#endif
